package com.ztgf.shopping.mapper.shop;

import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.shopping.models.vo.shop.ShopGoodsSalesRankVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*
 * @author: chenyu.wang
 * @date: 2020-08-19
 * @description:卖家店铺产品统计映射
 */
@Mapper
public interface ShopGoodsCountMapper {


    /*
     * @description:店铺运营产品统计销量排名
     * @author: chenyu.wang
     * @date: 2020-08-19
     */
    List<ShopGoodsSalesRankVO> queryShopSalesRanks(Page<ShopGoodsSalesRankVO> page, @Param("shopId") Long shopId);

    /*
     * @description:店铺运营产品统计最近上新
     * @author: chenyu.wang
     * @date: 2020-08-19
     */
    List<ShopGoodsSalesRankVO> queryShopGoodsNew(Page<ShopGoodsSalesRankVO> page, @Param("shopId") Long shopId);
}
